#ifndef MAINWINDOWS_H
#define MAINWINDOWS_H

#include "cheeseBoard.h"
#include "CheesesProperties.h"
#include <QMainWindow>

static const int imageWidth = 550;
static const int imageHeight= 620;
class CheeseBoard;

class MainWindows : public QMainWindow
{
    Q_OBJECT
public:
   MainWindows();
   ~MainWindows();
   void showWinMsg(const CheesesType);

   //functions:
private:
   void createActions();
   void createToolbars();
   void initUI();
   void initCheeseBoard();

   //slots
private slots:
    void on_actionNew_triggered();
    void on_actionSave_triggered();
    void on_actionLoad_triggered();
    void on_actionQuit_triggered();
    void on_actionUndo_triggered();
    void on_actionRedo_triggered();
    void on_actionAbout_triggered();

    //data
private:
   CheeseBoard* cheeseboard;
   QGraphicsView *view;
   QAction *actionNew;
   QAction *actionSave;
   QAction *actionLoad;
   QAction *actionUndo;
   QAction *actionRedo;
   QAction *actionAbout;
   QAction *actionQuit;
   QMenu *fileMenu;
   QMenu *actionMenu;
   QMenu *helpMenu;
   QToolBar *mainToolBar;
};

#endif // MAINWINDOWS_H
